package com.ssm.service;

import com.ssm.entity.Admin;
import com.ssm.entity.UmAdmin;

import java.util.List;

public interface AdminService {
    Admin login(String username, String password);
    List<UmAdmin> listAllAdmin();
    Integer createAdmin(UmAdmin umAdmin);
    Integer update(UmAdmin umAdmin);
    Integer deleteAdmin(int adminid);
    UmAdmin getUmAdmin(int adminid);
}
